<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
   
    <title>Simple Django Blog</title>

    <!-- Load our color and font preferences -->
    <link rel=StyleSheet href="/scripts/style.css" TYPE="text/css">
  </head>

  <body>

    <h1>
      <div class="title">
	      {% block title %}{% endblock %}
      </div>
    </h1>
    <hr>

    <div class="content">
      {% block content %}{% endblock %}
    </div>

    <hr>
    <div class="footer">
      {% block footer %}
        Return to <a href="/simpleblog/">Top</a><br/>
      {% endblock %}
      Subscribe to <a href="/feeds/latest/">rss</a><br/>

      {% if user.is_authenticated %}
        <p><a href="/accounts/logout">Logout {{user.username }}.</a></p>
      {% else %}
        <p><a href="/accounts/login">Login </a>here</p>
        <p><a href="/accounts/newUser">Create new account </a>here</p>
      {% endif %}
    </div>
  </body>
</html>